package org.jsola.hr.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.entity.BaseDeleteDO;
import org.jsola.core.entity.Key;

import java.util.Date;
import javax.persistence.Table;

/**
 * 在职记录表
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Table(name = "hr_on_job_record")
@Key(UUID = true)
public class OnJobRecordDO extends BaseDeleteDO<String> {

    private static final long serialVersionUID = 1L;

    /**
     * 员工ID
     */
    private String empId;
    /**
     * 公司id
     */
    private String companyId;
    /**
     * 入职时间
     */
    private Date joinDate;
    /**
     * 转正时间
     */
    private Date turnStraightDate;
    /**
     * 离职时间
     */
    private Date leaveDate;



}

